package com.example.dao;

import com.example.entity.Teacher;
import org.apache.ibatis.annotations.Param;

public interface TeacherDao {
    Teacher findById(@Param("id") Integer id);
    int updateTeacher(Teacher teacher);
    int updatePassword(@Param("id") Integer id, @Param("newPassword") String newPassword);
}